<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type">
    <meta charset="utf-8">
    <title>{{$data.title}} - 后台管理</title>
    <link href="{{$smarty.const.APP_URL}}templates/admin/css/admin.css" type="text/css" rel="stylesheet">
    <link href="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/black.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/jquery.artDialog.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/admin.js"></script>
    <script type="text/javascript">
        var this_uri = "/admin/setting/log";
    </script>
</head>
<body>

<div id="header">
    <div class="logo"><a href="/admin/"><img src="{{$smarty.const.APP_URL}}templates/admin/images/logo.png" title="后台首页"></a></div>
    <div class="loading"><div id="ajax-loader" title="Ajax数据更新中..."></div></div>
    <div id="topbar">
        <!--顶部菜单 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topmenu.html"}}
        <!--顶部菜单 end-->
        <!--顶部右侧 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topuser.html"}}
        <!--顶部右侧 end-->
        <div></div>
    </div>
</div>

<div><!-- 外层添加一个DIV解决IE8下margin-top的问题 -->
    <table id="maintable" cellpadding="0" cellspacing="0">
        <tbody><tr>
            <!--左侧菜单 start-->
            {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/leftmenu.html"}}
            <!--左侧菜单 end-->
            <!--主要TD start-->
            <td class="maintd" valign="top">
                <div class="maindiv">
                    <div id="main">
                        <div class="itemtitle">
                            <h3>操作日志</h3>
                        </div>
                        <table class="tb">
                            <tbody>
                                <tr>
                                    <td class="td"><input class="change" type="button" value="管理操作日志"><input class="change" type="button" value="登录出错日志"></td>
                                </tr>
                            </tbody>
                        </table>
                        <table class="tb">
                            <tbody>
                                <tr class="tr0">
                                    <td class="td">ID</td>
                                    <td class="td">用户名</td>
                                    <td class="td">管理员类型</td>
                                    <td class="td">IP地址</td>
                                    <td class="td">操作</td>
                                    <td class="td">时间</td>
                                </tr>
                                <tr>
                                    <td class="td">1</td>
                                    <td class="td">
                                        <a href="/admin/index.php/users/edit?userid=1">admin</a>
                                    </td>
                                    <td class="td">超级管理员</td>
                                    <td class="td">127.0.0.1</td>
                                    <td class="td">添加管理员</td>
                                    <td class="td">2015-12-10 11:40</td>
                                </tr>
                                <tr>
                                    <td class="td">2</td>
                                    <td class="td">
                                        <a href="/admin/index.php/users/edit?userid=1">hzx</a>
                                    </td>
                                    <td class="td">系统管理员</td>
                                    <td class="td">192.168.1.1</td>
                                    <td class="td">添加文章分类</td>
                                    <td class="td">2015-12-19 16:28</td>
                                </tr>
                            </tbody>
                        </table>
                        <!--底部信息 start-->
                        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/sysinfo.html"}}
                        <!--底部信息 end-->
                    </div>
                </div>
            </td>
            <!--主要TD end-->
        </tr>
        </tbody></table>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        //调整高度
        $("#container").height($(window).height()-40);
        $(window).resize(function() {
            $("#container").height($(window).height()-40);
        });

        App.init();//左侧菜单初始化

        var a101 = $("#topbar"); //顶部下接菜单
        a101.find("dl").Jdropdown({delay: 0}, function(a){});

        //全选checkbox
        $("#checkAll").click(function(e){
            $("input[name='" + $(this).attr("for") + "']").attr("checked", this.checked);
        });
    });
</script>
</body>
</html>